<template lang="">
    <div>
        <h1>我是E</h1>
        <button @click="emit">emit</button>
    </div>
</template>
<script lang="ts" setup>
import { getCurrentInstance } from 'vue';

const instance = getCurrentInstance()

const emit = () => {
    instance?.proxy?.$Bus.emit('on-xiaoman', 'mitt')
    instance?.proxy?.$Bus.emit('on-xiaoma2', 'mitt2')
}




</script>
<style lang="">
    
</style>